UkrSolution\BarcodeScanner\API\actions\CartScannerActions D

Total Complexity 452
Dependencies 16
Dependents 4
Total lines 1,748
Lines of code 1,311
Logical lines of code 851
Comment lines 0
Methods 28
Properties 12

Methods 28

Method Rating Maintainability Complexity Lines of code
orderCreate()
D
2
125 352
getCartDetails()
D
17
61 222
addItemToCart()
D
30 39 101
addItem()
D
31 38 88
updateQuantity()
C
35 26 69
initCoupon()
C
39 26 56
findProductInCart()
B
44 24 40
cartRecalculate()
A
37 13 71
getDiscountPrice()
A
44 14 47
updateAttributes()
A
47 13 33
itemSetPrice()
A
48 11 29
getWcCheckoutErrors()
A
56 8 18
setOrderTotal()
S
59 8 13
getCartRecords()
S
51 7 24
getStatuses()
S
55 6 20
formatPriceForUpdate()
S
56 5 19
getCartItems()
S
57 5 17
updateOrderExtraData()
S
59 5 13
cartClear()
S
55 4 18
getExtraData()
S
60 3 13
removeItem()
S
57 2 16
conditionally_send_wc_email()
S
66 2 9
cleanObOutput()
S
70 2 6
changeQuantityInCart()
S
69 1 6
getVariations()
S
80 1 3
getWcErrors()
S
82 1 3
wcSession()
S
91 1 2
initFieldPrice()
S
79 1 3